<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class=""><a href="{:url('const/index',array('id'=>$id))}">施工员</a></li>
        <li class="active"><a>施工日志新增</a></li>
    </ul>
    <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('doadd')}" enctype="multipart/form-data">


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>时间
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="date" name="time" class="form-control">
            </div>
        </div>


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>天气
            </label>
            <div class="col-md-6 col-sm-10">
                <select name="wea" class="form-control">
                    <option value=""></option>
                    <option value="晴">晴</option>
                    <option value="雨">雨</option>
                    <option value="雪">雪</option>
                </select>
            </div>
        </div>

        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>班组长姓名
            </label>
            <div class="col-md-6 col-sm-10">
                <select name="leader" class="form-control">
                    <option value=""></option>
                    <volist name="people" id="v">
                        <option value="{$v.id}">{$v.name}</option>
                    </volist>
                </select>
            </div>
        </div>


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>班组
            </label>
            <div class="col-md-6 col-sm-10">
                <select name="leaType" class="form-control">
                    <option value=""></option>
                    <volist name="sye" id="v">
                        <option value="{$v.id}">{$v.type}</option>
                    </volist>
                </select>
            </div>
        </div>


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>施工人数
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="number" name="nums" class="form-control">
            </div>
        </div>



        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>描述
            </label>
            <div class="col-md-6 col-sm-10">
                <textarea  cols="20" rows="5" name="desc" class="form-control"></textarea>
            </div>
        </div>

        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                特别事项
            </label>
            <div class="col-md-6 col-sm-10">
                <textarea name="content"  cols="20" rows="5" class="form-control"></textarea>
            </div>
        </div>


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
               甲方到场意见
            </label>
            <div class="col-md-6 col-sm-10">
                <textarea name="opi" cols="20" rows="5" class="form-control"></textarea>
            </div>
        </div>




        <input type="hidden" name="eid" value="{$id}">
        <input type="hidden" name="type" value="{$type}">


        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
                <a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
            </div>
        </div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>